package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 编码用户地址变更记录表
 * </p>
 *
 * @author WEN
 * @since 2023-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjCodeUserAddressChangeLog对象", description="编码用户地址变更记录表")
public class ZjCodeUserAddressChangeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "编码ID")
    private Long codeId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "用户地址-省")
    private String province;

    @ApiModelProperty(value = "用户地址-市")
    private String city;

    @ApiModelProperty(value = "用户地址-县/区")
    private String area;

    @ApiModelProperty(value = "用户地址-镇")
    private String town;

    @ApiModelProperty(value = "用户地址-详细地址")
    private String address;

    @ApiModelProperty(value = "变更人ID")
    private Long createEmpId;

    @ApiModelProperty(value = "变更人名称")
    private String createEmp;

    @ApiModelProperty(value = "创建时间/变更时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
